package com.fc.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class OrderSaleSummaryStatsInfo {
    @ApiModelProperty("本月订单总数")
    int totalOfMonth;

    @ApiModelProperty("上月订单总数")
    int totalOfLastMonth;

    @ApiModelProperty("本周订单总数")
    int totalOfWeek;

    @ApiModelProperty("上周订单总数")
    int totalOfLastWeek;

    @ApiModelProperty("本月销售总额")
    double totalAmountOfMonth;

    @ApiModelProperty("上月销售总额")
    double totalAmountOfLastMonth;

    @ApiModelProperty("本周销售总额")
    double totalAmountOfWeek;

    @ApiModelProperty("上周销售总额")
    double totalAmountOfLastWeek;


    public static OrderSaleSummaryStatsInfo defaultValue()
    {
        return new OrderSaleSummaryStatsInfo(0,0,0,0,0,0,0,0);
    }
}
